Skip to content

Conversation

@selanthiraiyan
Copy link
Contributor

@selanthiraiyan selanthiraiyan commented Jan 18, 2023

Fixes wordpress-mobile/WordPressAuthenticator-iOS#723
Related to: wordpress-mobile/WordPressAuthenticator-iOS#724

Description

A previous update made to WordPress Authenticator changed the step value of an analytics event from GetStartedViewController. This started impacting the looker dashboard of WordPress Mobile.

To fix it, we have created a configuration flag and moved the step value change behind it.

More details here

This PR updates the WordPress Authenticator pod to the latest release to revert the step value change.

Testing Instructions

  • Install and launch the app.
  • Tap on "Log in or sign up with WordPress.com" button
  • You will land in the GetStartedViewController (Ref screenshot below)
  • Check the Xcode console and ensure that the following event is tracked
Tracked: unified_login_step <flow: wordpress_com, source: default, step: start>
  • Note that the step value is start and not enter_email_address anymore

Regression Notes

  1. Potential unintended areas of impact
    NA

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    NA

  3. What automated tests I added (or what prevented me from doing so)
    NA

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@selanthiraiyan selanthiraiyan changed the title Point WordPressAuthenticator pod to beta commit. WPAuthenticator - Remove custom step value from GetStartedViewController Jan 18, 2023
Podfile Outdated
# pod 'WordPressAuthenticator', '~> 5.0'
# pod 'WordPressAuthenticator', git: 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', branch: 'trunk'
# pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :commit => ''
pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :commit => 'bf6681f979ea3edbc07021130cfc0f4644138575'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Use the new Ruby 1.9 hash syntax.

@selanthiraiyan selanthiraiyan marked this pull request as ready for review January 18, 2023 03:57
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 18, 2023

You can test the changes in WordPress from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr19940-6a76c28 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@selanthiraiyan selanthiraiyan added this to the 21.6 milestone Jan 18, 2023
@wpmobilebot
Copy link
Contributor

You can test the changes in Jetpack from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr19940-6a76c28 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

Copy link
Contributor

@wargcm wargcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ I'm seeing 🔵 Tracked: unified_login_step <flow: wordpress_com, source: default, step: start> being tracked.

LGTM 🚀

@selanthiraiyan
Copy link
Contributor Author

selanthiraiyan commented Jan 19, 2023

Thanks for the review! 🙇

@wargcm @develric Could one of you help me merge this PR? I don't have permission to merge to trunk.

I have merged it with help from Gio!

@selanthiraiyan selanthiraiyan merged commit 230140d into trunk Jan 19, 2023
@selanthiraiyan selanthiraiyan deleted the bugfix/wpauthenticator-723-revert-step-value branch January 19, 2023 02:30
@mokagio
Copy link
Contributor

mokagio commented Jan 19, 2023

Could one of you help me merge this PR? I don't have permission to merge to trunk.

@selanthiraiyan , for some reason, you weren't in any of the teams that have merge rights on this repo. That has now been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracks: Add new configuration to log enter_email_address step

5 participants